package com.woniu.cms.auth.core.service;

import com.woniu.cms.auth.core.entity.RbacUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.cms.auth.core.vo.PageUser;
import com.woniu.cms.auth.core.vo.PageUserVo;
import com.woniu.cms.auth.core.vo.PermVo;
import com.woniu.cms.auth.core.vo.UserVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lilili
 * @since 2022-09-16
 */
public interface IRbacUserService extends IService<RbacUser> {

    UserVo getUserVo(Integer id);

    PageUserVo getPageUserVo(Integer pageNo, Integer pageSize);

    PageUserVo getLikePageUserVo(Integer pageNo, Integer pageSize, String like);

    boolean updateUser( PageUser pageUser);

    List<PermVo> getUserPerm(Integer userId);
}
